
/**
 * @Author Mucd
 * @ClassName Student
 * @Date 2020/12/31/031
 * @Specification Alibaba
 */
public class Student {
    private String name;
    private String sex;
    private int age;
    private String sid;

    /**
     * 无参构造 and 有参构造
     * @param n
     * @param i
     */
    public Student(String n, int i){
        super();
    }
    public Student(String name,String sex,int age,String sid){
        this.name =name;
        this.sex =sex;
        this.age = age;
        this.sid = sid;
    }
    /**
     * set and get
     */
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }
}
